package com.zh.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/7/10/010.
 */
public class UpImg extends Model<UpImg> {

    private static final long serialVersionUID = 1L;

    private String id;

    private String url;
    private String name;
    private String size;
    private String type;
    private String creattime;
    private String creator;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCreattime(String creattime) {
        return creattime;
    }

    public void setCreattime(String creattime) {
        this.creattime = creattime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    @Override
    public String toString() {
        return "UpImg{" +
                "id='" + id + '\'' +
                ", url='" + url + '\'' +
                ", name='" + name + '\'' +
                ", size='" + size + '\'' +
                ", type='" + type + '\'' +
                ", creattime='" + creattime + '\'' +
                ", creator='" + creator + '\'' +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
